<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>生猪入圈登记分录 - 新增</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/food/penentregs/penentregsentry.css">
    <style>
        .license-plate input {
            text-transform: uppercase;
        }
    </style>
    <script id="addpigType-template" type="text/x-template">
        {{~ it :value:index}}
        <div class="report-contents-item-box item-box-{{=value.seq}}" data-indexid="{{=value.seq}}" style="position: relative;">
            <div class="weui-cell weui-cell_select" style="padding: 15px;padding-top: 24px">
                <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                    <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                        <span>猪只类型<span class="red-900"
                            style="position:absolute;">&nbsp;*</span></span>
                    </span>
                    <span class="weui-cell__ft">
                        <select class="weui-select clearContent pigType" id="pigType_{{=value.seq}}"
                            style="visibility: hidden;" required>
                        </select>
                    </span>
                </div>
            </div>
            <div class="weui-cell" style="padding: 15px;">
                <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                    <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                        <span>
                            猪只数量(头)<span class="red-900 requirentry"
                                style="position:absolute;">&nbsp;*</span>
                        </span>
                    </span>
                    <span class="weui-cell__bd" >
                        <input class="weui-input clearContent masterpad" placeholder="请输入猪只数量..."
                            type="text" id="pigQty_{{=value.seq}}">
                    </span>
                </div>
            </div>
             <div class="weui-cell plantails" style="display: flex;justify-content: space-around;padding:0px">
                    <div style="flex:1;text-align:center;border-right: 1px solid #e6e6e6;padding: 0px 10px">
                        <div class="operation-button" data-flag="table-click-delete" data-index='{{=value.seq}}'>
                            <i class="icon iconfont icon-linear-delete icon-font-size-24" style="font-size: 24px;color:#e24f2efd"
                               aria-hidden="true"></i>
                        </div>
                    </div>
                </div>
            </div>
         {{~}}
    </script>
</head>

<body>
    <div id="main-addsalesplan" class="main-addsalesplan">
        <form id="saleordersentry-form">
            <div id="salesEntryTem">
                <p class="saleOrders-entry-message">入圈分录信息</p>
                <div class="report-contents-item-box" v-for="(item, index) in entries" :key="item.seq">
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>附属代宰户<span class="red-900" style="position:absolute;">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent " id="afltdSltrSupp" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    圈号<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" placeholder="请输入圈号..." type="text"
                                    v-model="item.penNo">
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>生产线<span class="red-900" style="position:absolute;">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent " id="prodLine" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    入圈头数(头)<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" placeholder="请输入数量..." type="number"
                                    v-model="item.num">
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    备注
                                </span>
                            </span>
                            <span class="weui-cell__bd">
                                <input class="weui-input clearContent masterpad" type="text" placeholder="请输入备注..."
                                    v-model="item.remark">
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_default"
                        style="width: 38%;border-radius:8px;background-color: #fff;margin-left: 0px;"
                        id="returnMain">取消</a>
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                        style="width: 60%;border-radius:8px;margin-top: 0px;margin-right: 0px;"
                        v-on:click="submit">保存</a>
                </div>
            </div>
        </form>
        <div id="report-contact" class="weui-popup__container" style="z-index:9999">
            <div class="weui-popup__overlay"></div>
            <div class="weui-popup__modal">
                <!-- 你的内容放在这里... -->
                <div class="page" tabindex="-1" id="contact-auction" style="position: relative;">
                    <div style="overflow-y: auto; height: calc(100vh - 100px);" id="iscroll">
                        <div id="content" class="main-addsalesplan"> </div>
                    </div>
                    <div style="position: absolute;bottom: -40px; width: 100%;">
                        <a href="javascript:;" class="weui-btn weui-btn_primary" id="add-pigType"
                            style="width: 93%;">新增猪只明细</a>
                    </div>
                    <div class="weui-search-bar"
                        style="position:fixed;bottom:0;width: 100%; text-align:right !important;z-index: 10; ">
                        <a href="javascript:" role="button"
                            class="weui-btn weui-btn_mini weui-btn_default weui-wa-hotarea" id="cancelSub"
                            style="margin-left: 0;padding: 5px 45px;">取消</a>
                        <a href="javascript:" role="button"
                            class="weui-btn weui-btn_mini weui-btn_primary weui-wa-hotarea" id="subEmployees"
                            style="margin-right: 0;padding: 5px 45px;">确定</a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>
    <script type="module" src="../../../../public/js/features/food/penentregs/penentregsentry.js"></script>
</body>

</html>